home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HamCall (October 1991)
/
HamCall (Whitehall Publishing)(1991).bin
/
prgming
/
pastut
/
readreal.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1990-10-14
|
526b
|
25 lines
(* Chapter 10 - Program 3 *)
program Read_Some_Real_Variables;
var Index : byte;
Number : integer;
Real1,Real2,Real3 : real;
begin
Writeln('Read some Real variables');
for Index := 1 to 5 do begin
Write('Enter an integer and 3 reals ');
Readln(Number,Real1,Real2,Real3);
Writeln(Number:20,Real1:12:3,Real2:12:3,Real3:12:3);
end;
end.
{ Result of execution
(The results depend on the data entered at the keyboard)
}